package com.jlcindia.spring;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Lab33 {
public static void main(String[] args) {
	AnnotationConfigApplicationContext ctx=new AnnotationConfigApplicationContext(JLCConfig.class);
	System.out.println("Now Spring Container is Ready...");
	
	Hello hello=(Hello)ctx.getBean(Hello.class);
	hello.show();
	ctx.registerShutdownHook();
}
}